package com.jinyou.chengfengshop;

import android.app.Application;

import com.lidroid.xutils.HttpUtils;


/**
 * Created by zhuzhiqiang on 2018/9/20.
 */

public class MyApplication extends Application {
    private static HttpUtils httpUtils;
    @Override
    public void onCreate() {
        super.onCreate();
        if (httpUtils == null) {
            httpUtils = new HttpUtils(10000);
        }
    }

    public static HttpUtils getHttpUtilsInstance() {
        return httpUtils;
    }
}
